﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _07运术符算符
{
    class Program
    {
        static void Main(string[] args)
        {

            //int unm = 1;
            //int dao = 1;
            //int sk = unm + dao;
            //Console.WriteLine("1+1={0}",sk);

            //练习一
            //int hum = 90;
            //int jk = 80;
            //int yy = 91;
            //int sum = hum + jk + yy;
            //int avg = sum / 3;

            //Console.WriteLine("你的总成绩为：{0}  平均成绩为：{1}", sum, avg);

            //小括号可以无限套用
            //int hon = (5 + (5 - 2)) * 2;
            //Console.WriteLine("{0}",hon);

            //练习二
            //double gmn = 3.14;
            //double io = 5;
            //double ip = io * io * gmn;
            //Console.WriteLine("ip={0}", ip);

            

            Console.ReadKey();
        }
    }
}
